Optimal. Leaf size=71 \[ -\frac {2 \left (c d^2-b d e+a e^2\right )}{3 e^3 (d+e x)^{3/2}}+\frac {2 (2 c d-b e)}{e^3 \sqrt {d+e x}}+\frac {2 c \sqrt {d+e x}}{e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {712}
\begin {gather*} -\frac {2 \left (a e^2-b d e+c d^2\right )}{3 e^3 (d+e x)^{3/2}}+\frac {2 (2 c d-b e)}{e^3 \sqrt {d+e x}}+\frac {2 c \sqrt {d+e x}}{e^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 712
Rubi steps
\begin {align*} \int \frac {a+b x+c x^2}{(d+e x)^{5/2}} \, dx &=\int \left (\frac {c d^2-b d e+a e^2}{e^2 (d+e x)^{5/2}}+\frac {-2 c d+b e}{e^2 (d+e x)^{3/2}}+\frac {c}{e^2 \sqrt {d+e x}}\right ) \, dx\\ &=-\frac {2 \left (c d^2-b d e+a e^2\right )}{3 e^3 (d+e x)^{3/2}}+\frac {2 (2 c d-b e)}{e^3 \sqrt {d+e x}}+\frac {2 c \sqrt {d+e x}}{e^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 55, normalized size = 0.77 \begin {gather*} \frac {-2 e (2 b d+a e+3 b e x)+2 c \left (8 d^2+12 d e x+3 e^2 x^2\right )}{3 e^3 (d+e x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.50, size = 58, normalized size = 0.82
method | result | size |
gosper | \(-\frac {2 \left (-3 x^{2} c \,e^{2}+3 b \,e^{2} x -12 c d e x +e^{2} a +2 b d e -8 c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}} e^{3}}\) | \(52\) |
trager | \(-\frac {2 \left (-3 x^{2} c \,e^{2}+3 b \,e^{2} x -12 c d e x +e^{2} a +2 b d e -8 c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}} e^{3}}\) | \(52\) |
risch | \(\frac {2 c \sqrt {e x +d}}{e^{3}}-\frac {2 \left (3 b \,e^{2} x -6 c d e x +e^{2} a +2 b d e -5 c \,d^{2}\right )}{3 e^{3} \left (e x +d \right )^{\frac {3}{2}}}\) | \(57\) |
derivativedivides | \(\frac {2 c \sqrt {e x +d}-\frac {2 \left (b e -2 c d \right )}{\sqrt {e x +d}}-\frac {2 \left (e^{2} a -b d e +c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}}}}{e^{3}}\) | \(58\) |
default | \(\frac {2 c \sqrt {e x +d}-\frac {2 \left (b e -2 c d \right )}{\sqrt {e x +d}}-\frac {2 \left (e^{2} a -b d e +c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}}}}{e^{3}}\) | \(58\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 64, normalized size = 0.90 \begin {gather*} \frac {2}{3} \, {\left (3 \, \sqrt {x e + d} c e^{\left (-2\right )} - \frac {{\left (c d^{2} - b d e - 3 \, {\left (2 \, c d - b e\right )} {\left (x e + d\right )} + a e^{2}\right )} e^{\left (-2\right )}}{{\left (x e + d\right )}^{\frac {3}{2}}}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.28, size = 69, normalized size = 0.97 \begin {gather*} \frac {2 \, {\left (8 \, c d^{2} + {\left (3 \, c x^{2} - 3 \, b x - a\right )} e^{2} + 2 \, {\left (6 \, c d x - b d\right )} e\right )} \sqrt {x e + d}}{3 \, {\left (x^{2} e^{5} + 2 \, d x e^{4} + d^{2} e^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 252 vs.
\(2 (73) = 146\).
time = 0.41, size = 252, normalized size = 3.55 \begin {gather*} \begin {cases} - \frac {2 a e^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} - \frac {4 b d e}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} - \frac {6 b e^{2} x}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {16 c d^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {24 c d e x}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {6 c e^{2} x^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} & \text {for}\: e \neq 0 \\\frac {a x + \frac {b x^{2}}{2} + \frac {c x^{3}}{3}}{d^{\frac {5}{2}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.95, size = 64, normalized size = 0.90 \begin {gather*} 2 \, \sqrt {x e + d} c e^{\left (-3\right )} + \frac {2 \, {\left (6 \, {\left (x e + d\right )} c d - c d^{2} - 3 \, {\left (x e + d\right )} b e + b d e - a e^{2}\right )} e^{\left (-3\right )}}{3 \, {\left (x e + d\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 58, normalized size = 0.82 \begin {gather*} \frac {6\,c\,{\left (d+e\,x\right )}^2-2\,a\,e^2-2\,c\,d^2-6\,b\,e\,\left (d+e\,x\right )+12\,c\,d\,\left (d+e\,x\right )+2\,b\,d\,e}{3\,e^3\,{\left (d+e\,x\right )}^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________